Which best describes the function of the brain?